package com.winit.cloudlink.mgmt.heartbeat;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * Created by stvli on 2017/3/28.
 */
@ConfigurationProperties(prefix = "spring.cloudlink.mgmt.heartbeat")
public class HeartbeatProperties implements Serializable {
    /**
     * 告警阈值，以秒为单位，默认600秒，即10分钟末收到指令就告警，
     */
    private long alarmThreshold=600;

    private boolean alerted=false;

    private String alertZone;

    private String smsAlertTo;

    private String[] smsAlertToList;
}